package com.situ.student.dao;

import com.situ.student.model.Subject;
import com.situ.student.util.Pagination;

import java.util.List;

public interface SubjectDao {
    List<Subject> findAll(Pagination pagination, Subject subject);
    int deleteByIds(int id);
    int save(Subject subject);
    int update(Subject subject);
    Subject findById(Integer id);
}
